Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert Mac builds to use Qt 5.9 #93

Draft
wants to merge 1 commit into
base: 3.x
Choose a base branch
from
Draft

Revert Mac builds to use Qt 5.9 #93

wants to merge 1 commit into from

Conversation

Jojo-Schmitz
Copy link
Owner

@Jojo-Schmitz Jojo-Schmitz commented Mar 26, 2023

Probably reinstates macOS 10.5 accessibility setting “Enable Hover Text” causes crash but should solve the problems described in https://musescore.org/en/node/347226

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded:
@loader_path/../Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore
Referenced from: 
/Applications/MuseScore 3.7.0.4385017570 Devel.app/Contents/MacOS/mscore
Reason: tried: '/Applications/MuseScore 3.7.0.4385017570
Devel.app/Contents/MacOS/../Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore'
(),
'/System/Volumes/Preboot/Cryptexes/OS@loader_path/../Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore'
(no such file), '/Applications/MuseScore 3.7.0.4385017570
Devel.app/Contents/MacOS/../Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore'
(),
'/Library/Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore'
(no such file),
'/System/Library/Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore'
(no such file, not in dyld cache)
(terminated at launch; ignore backtrace)

Maybe extracting that missing QtWebEngineCore from https://s3.amazonaws.com/utils.musescore.org/Qt5152_mac.zip and placing it somewhere in the lib search path would help?

@AntonioBL
Copy link

Ciao.
From the compialtion log, the error arising when using the 5.15.2 version is:

2023-06-04T16:08:50.7841280Z ERROR: "error: /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't write output file: /Volumes/MuseScore-3.7b-cacdcc9/mscore.app/Contents/Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore.strip (No space left on device)\n"
2023-06-04T16:08:50.7842000Z ERROR: ""
2023-06-04T16:08:50.8032710Z ERROR: Could not parse otool output: "/Volumes/MuseScore-3.7b-cacdcc9/mscore.app/Contents/Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore: is not an object file\n"

during the package step. Indeed, inside the dmg file there is Contents/Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore but it is empty (0 bytes).

The QtWebEngineCore file exists inside the 5.15.2 archive. I don't know if it is a problem of actual total disk space (I doubt it), or if it tries to create some sort of logical volume and that is not big enough.

@AntonioBL
Copy link

To save space, you can try to delete Visual Studio for Mac, that is not used for building MuseScore:
[you maybe need sudo before each of these commands]

rm -rf "/Applications/Visual Studio.app"
rm -rf "/Applications/Visual Studio 2019.app" 

Here you can find all the software installed on the virtual machine: https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md some of them can be unistalled/deleted to gain free space (if that is what really is needed for the "No space left on device" error).

@AntonioBL
Copy link

Try to see if #129 solves the problem. 🤞

@Jojo-Schmitz Jojo-Schmitz marked this pull request as draft June 16, 2023 09:04
@Jojo-Schmitz
Copy link
Owner Author

Prevent accidential merge ;-)
We still may want to downgrad back to Qt 5.9 eventually though.

@Jojo-Schmitz
Copy link
Owner Author

See also #127

Probably reinstates the issue from  https://musescore.org/en/node/317323 but should solve the problems described in https://musescore.org/en/node/347226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants